package day8.maptest;

/**
 * @author joker
 * @date 2022/4/18 0018 - 18:22
 */
public class Test1 {
    public static void main(String[] args) {
        int a=15;
        int b=16;
//        System.out.println(Integer.toString(a,2));
//        System.out.println(Integer.toString(b,2));
        Test1 test1 = new Test1();
        int h;
//        System.out.println(h = test1.hashCode());
//        System.out.println(h >>>16);
//        System.out.println((h = test1.hashCode()) ^ (h >>>16));
//        System.out.println((h=1)-h*2);
        System.out.println((h=test1.hashCode())+"***hashcode");
        System.out.println(Integer.toString(h,2)+"***hashcode二进制");
        System.out.println((h>>>16)+"***hashcode>>>16");
        System.out.println("****************"+Integer.toString((h>>>16),2)+"***hashcode>>>16的二进制");
        System.out.println((h = test1.hashCode()) ^ (h >>>16));
        System.out.println(Integer.toString((h = test1.hashCode()) ^ (h >>>16),2)+"***异或二进制");
    }

}
